<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--layout photo-->
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!--Meta Tag-->
        <?php echo $this->headMeta(); ?>
        <!--Title-->
        <?php echo $this->headTitle(); ?>
        <!-- CSS -->

        <link href="<?php echo $this->config['euro2012']['css']; ?>/reset.css" media="screen" rel="stylesheet" type="text/css" />
        <link href="<?php echo $this->config['euro2012']['css']; ?>/general.css" media="screen" rel="stylesheet" type="text/css" />
        <link href="<?php echo $this->config['euro2012']['css']; ?>/euro2012.css" media="screen" rel="stylesheet" type="text/css" />

         <!-- JS -->
         <script language="javascript" type="text/javascript" src="<?php echo $this->config['euro2012']['js']; ?>/lib/jquery.min.js.js"></script>
         <script type="text/javascript">
             var PAGE_FOLDER = <?php echo str_replace('100', '1', ($this->categoryID > 0  ? $this->categoryID : SITE_ID)) ; ?>;
             var IMAGES_URL = '<?php echo $this->config['images']; ?>';
         </script>
         <script type="text/javascript" src="http://180.148.142.152/Library/tt_vne_bootstrap.js"></script>
    </head>
    <body>
        <?php //echo $this->render('common/topbar.phtml'); ?>
        <div id="wrapper-container">
            <div id="container">
                <div id="wrapper_header">
                    <?php echo $this->render('common/header.phtml'); ?>

                    <div id="menu_portal">
                        <?php echo $this->render('common/menu_product.phtml'); ?>
                    </div>
                </div>
                <div id="wrapper_content">
                    <div class="banner_980 box_width_common"> <img src="<?php echo $this->config['euro2012']['images']; ?>/ads/banner_980.jpg" alt="" /> </div>
                    <?php echo $this->render('common/navigation.phtml'); ?>
                    <?php echo $this->layout()->content; ?>
                </div>
                <div class="w980 left">
                    <div id="col_left" class="w670 left">
                        <div id="cate_image_chuyenmuc" class="football box_width_common">                            
                            <div class="title_cate">
                                <p class="left">ẢNH THEO CHUYÊN MỤC</p>
                                <?php
                                if (isset($this->arrCateMenu) && !empty ($this->arrCateMenu)) {
                                ?>
                                <div class="right w200">
                                    <select class="left w180 select_category" onchange="return show_cate_photo(this.value);">
                                        <option <?php echo ($this->arrCateMenu['catecode'] === "photo")? 'selected="selected"':'';?> value="<?php echo $this->arrCateMenu['category_id'];?>"  id="photo">Tất cả</option>
                                        <?php if( !empty( $this->arrCateMenu['child'] )){
                                            foreach ( $this->arrCateMenu['child'] as $cate ){
                                        ?>
                                        <option value="<?php echo $cate["category_id"];?>" id="bong-da-quoc-te" >&nbsp;&nbsp;&nbsp;<?php echo $cate["catename"];?></option>
                                                <?php if( !empty( $cate['child'] ) ){
                                                        foreach ( $cate['child'] as $key => $sub){
                                                    ?>
                                        <option value="<?php echo $sub["category_id"];?>" id="<?php echo $sub['catecode'];?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $sub["catename"];?></option>
                                                <?php } } ?>
                                        <?php } }?>
                                    </select>
                                </div>
                                <?php
                                }
                                ?>
                            </div>
                            
                            <?php if(!empty ($this->arrDetail['album'])){?>
                            <div class="content_box_photo box_width_common" id="div_list_new_photo">
                                <ul class="" id="box_list_photo">
                                    <?php foreach($this->arrDetail['album'] as $photo){
                                        ?>
                                    <li>
                                        <div class="block_image_thumb"> <a href="<?php echo $this->Articleurl($photo, 1, 1);?>" title="<?php echo $photo["title"];?>" alt="<?php echo $photo["title"];?>" rel="example_group"><img src="<?php echo $this->imageurl($photo['thumbnail_url'], $this->imageSize['size5']);?>" width="207" height="155" title="<?php echo $photo["title"];?>" alt="<?php echo $photo["title"];?>" /> <span class="icon_photo">&nbsp;</span> </a> </div>
                                        <h2> <a class="txt_black_hover_blue" href="<?php echo $this->Articleurl($photo, 1, 1);?>" title="<?php echo $photo["title"];?>" alt="<?php echo $photo["title"];?>"><?php echo $photo['title'];?></a> </h2>
                                        <p class="txt_gray txt_11">Lượt xem: <?php echo $this->Articleview($photo); ?></p>
                                    </li>
                                    <?php } ?>
                                </ul>
                                <?php if( $this->total > LIMIT_NEW_PHOTO_SITE){ ?>
                                <div class="more_bottom_detal box_width_common">
                                    <div class="left"><a href="#wrapper_header" class="txt_gray" id="back-top"><span class="icon_portal_thethao icon_scrolltop">&nbsp;</span> Về đầu trang</a></div>
                                    <div id="idLoadingPhoto" class="txt_view_more" style="display:none">Loading...</div><div class="txt_view_more" id="idShowmorePhoto"><a class="txt_gray" href="javascript:;" onclick="return show_more_photo();">Xem thêm<span class="icon_portal_thethao icon_view_more">&nbsp;</span></a></div>
                                </div>
                                <?php } ?>
                            </div>
                            <?php } ?>
                        </div>
                    </div>
                    <div id="col_right" class="w300 right">
                        <?php echo isset($this->layout()->_sections['layoutphoto_section_right_1'])?$this->layout()->_sections['layoutphoto_section_right_1']:''; ?>
                    </div>
                </div>	
                <div id="wrapper_footer">
                    <?php echo $this->render('common/footer.phtml'); ?>
                </div>
            </div>
        </div>
        
        <!-- InstanceBeginEditable name="Javascript" -->
        <script language="javascript" type="text/javascript" src="<?php echo $this->config['euro2012']['js']; ?>/common.js"></script>
        <script language="javascript" type="text/javascript" src="<?php echo TRACKING_URL; ?>/js/pv.widget.js"></script>
        <script language="javascript" type="text/javascript" src="<?php echo $this->config['comment']; ?>/js/cmt.widget.js"></script>
    </body>
    
</html>